#!/bin/bash

# Get current directory
cd "$(dirname "${BASH_SOURCE[0]}")"
cur_dir=`pwd`

# export Brewfile
rm -f $cur_dir/Brewfile || true
rm -f $cur_dir/Brewfile.lock.json || true
brew bundle dump

# show git diff
git diff $cur_dir/Brewfile
